<?php
include '../../common.php';
$cache = AppUtil::signton('LyCache');
$hello = "hello world";
$cache->fileAdd('hello',$hello);
echo $cache->fileGet('hello');
echo "<br/>";
$array = array('sdf'=>'wlefhwek','werwer'=>'lakfjwef');
$cache->fileAdd('array',$array,30);
var_dump($cache->fileGet('array'));